//
//  VIPLiveVideoManager.h
//  TTProduct
//
//  Created by My mac on 2018/8/20.
//  Copyright © 2018年 TTProduct. All rights reserved.
//

#import "VIPBaseSignaling.h"
#import <NIMSDK/NIMSDK.h>

@interface VIPIMManager : VIPBaseSignaling

@property (copy, nonatomic, readonly) VIPCompletionHandler _Nullable loginedLostConnection;
@property (strong, nonatomic, readonly) NIMSDK * _Nullable nimSDK;
@property (weak, nonatomic, readonly) id<NIMLoginManager> _Nullable loginManager;

+ (instancetype _Nonnull )shareManager;
- (void)setupIM;
- (VIPMessage *_Nullable)messageWithEcode:(NSInteger)ecode;

- (void)sendMessageType:(NIMSessionType)type error:(NSError * __nullable *_Nullable)error;

@end
